package cn.com.surker.lab.service.impl;

import cn.com.surker.lab.entity.LabExpendOther;
import cn.com.surker.lab.dao.LabExpendOtherDao;
import cn.com.surker.lab.service.LabExpendOtherService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;
import java.util.Date;

/**
 * <p>
 * 工控机手动下料消耗表 服务实现类
 * </p>
 *
 * @author admin
 * @since 2024-11-05
 */
public abstract class LabExpendOtherBaseImpl extends ServiceImpl<LabExpendOtherDao, LabExpendOther> implements LabExpendOtherService {

	@Resource
	protected LabExpendOtherDao labExpendOtherDao;

	@Override
	public Date findMaxTime(Long lineId) {
		Date date = labExpendOtherDao.findMaxTime(lineId);
		return date;
	}

	@Override
	protected Class<LabExpendOther> currentModelClass() {
		return LabExpendOther.class;
	}
}